﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PlayerInterface;
using System.IO;

namespace ControllerLib
{
    class Controller : PlayerInterface.IControl
    {
        public void RRR(string x)
        {
            using (StreamWriter sw=new StreamWriter("name.txt",true))
            {
                sw.WriteLine(x);
            }
        }
        public string GetTeamName()
        {
            return "Cno Shabby AI 3";
        }
        bool ctn = true;
        public void Update(IEntity entity)
        {
            // TODO: 逻辑写入位置
            if (ctn)
            {
                ctn = false;
                entity.TurnSouth();
                entity.MoveSouth();
            }
            return;
        }
    }
}
